<?php

function __autoload($class_name) 
{
    require_once "$class_name.class.php";
}


$parrainage=array();
$p=new Profil('Parrain');
$p2=new Profil('Parrainnee');

$parrainage[$p]=$p2;

print_r($parrainage);

?>
